import { ref } from "vue";
//常量.
export class Constant {
  //模块
  static readonly MODULE_JOBS = "jobs";
  // 任务定义状态
  static readonly DEFINE_STATUS = ref([
    { key: true, value: "启用" },
    { key: false, value: "禁用" },
  ]);
  // 是否立即开始
  static readonly TRIGGER_STATUS = ref([
    { key: true, value: "是" },
    { key: false, value: "否" },
  ]);
  // 执行日志状态
  static readonly RECORDSTATE_STATUS = ref([
    { key: true, value: "成功" },
    { key: false, value: "失败" },
  ]);
  // 运行实例状态
  static readonly ENUM_INSTANCE_STATE = "jmash.jobs.protobuf.InstanceState";
}
